﻿<%@ Page Language="C#" MasterPageFile="~/admin/MasterPage_Admin.master" AutoEventWireup="true"
    CodeFile="news_add.aspx.cs" Inherits="admin_news_add" Title="大众防骗" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%--<%@ Register src="../usercontrol/WebUserControl_ClassSort.ascx" tagname="WebUserControl_ClassSort" tagprefix="uc1" %>--%>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Search" runat="Server">
    <script type="text/javascript" src="./fckeditor/fckeditor.js"></script>
    <script type="text/javascript">
        function swap_tab(n) {
            for (var i = 1; i <= 4; i++) {
                var curC = document.getElementById("tab_" + i);
                var curB = document.getElementById("tab_t" + i);
                if (n == i) {
                    curC.style.display = "block";
                    curB.className = "active"
                } else {
                    curC.style.display = "none";
                    curB.className = "normal"
                }
            }
        } 
    </script>
    <div class="w-sjzzbb">
        <div class="w-sjzztop">
            添加资讯
        </div>
    </div>
    <div style="text-align: left; width: 100%;border:1px solid #09f;padding-bottom:20px;">
        <table style="width: 100%">
            <tr>
                <td style="width: 100%; background-color: #f5f5f5; text-align: left;">
                    <img src="image/comment1_(add)_16x16.gif" />
                    添加资讯项目&nbsp;
                </td>
                <td style="width: 100%; background-color: #f5f5f5; text-align: right;">
                    <asp:Button Style="border: #4a95c9 1px solid; background-color: #b7d8ed" ID="Button1"
                        runat="server" OnClick="Button2_Click" Text="获取帮助" Visible="False" />
                    <!---->
                    <div id="help" runat="server" style="border-right: #4a95c9 1px solid; padding-right: 5px;
                        border-top: #4a95c9 1px solid; padding-left: 5px; z-index: 101; left: 275px;
                        padding-bottom: 5px; border-left: #4a95c9 1px solid; width: 491px; padding-top: 5px;
                        border-bottom: #4a95c9 1px solid; position: absolute; top: 124px; height: 307px;
                        background-color: #b7d8ed; display: none;">
                        获取帮助:<br />
                        <br />
                        发布新闻做出的改善:<br />
                        <br />
                        简单的发布系统,将生成到网站的articls/文件夹下,生成aspx静态文件,将加大网站的运行速度和生成速度,简化开发带来的复杂模型.<br />
                        <br />
                        发布新闻的方法:<br />
                        <br />
                        选择新闻分类,填写好摘要和标题(必填)等,单击发布新闻即可.<br />
                        <br />
                        新闻连接是什么?<br />
                        <br />
                        &nbsp;新闻连接是不生成静态文件,直接跳转到该连接的一种方法,适用与广告等发布.<br />
                        <br />
                        标签问题,以及模板问题.<br />
                        <br />
                        <asp:Button ID="Button4" runat="server" OnClick="Button5_Click1" Text="问题已经解决,并关闭帮助信息"
                            Width="192px" />
                        <a href="http://www.shangducms.com">并未解决,去官方网站</a>
                    </div>
                    <asp:Label ID="Label2" runat="server" Width="240px" Style="color: red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="border-right: #ead9b9 1px solid; border-top: #ead9b9 1px solid; border-left: #ead9b9 1px solid;
                    width: 100%; border-bottom: #ead9b9 1px solid; background-color: #fffdee; font-size: 12px;
                    color: #c18945;" colspan="2">
                    ECountry NT提示:<br />
                    你发布资讯请一定要填写标题信息,内容请等待编辑器刷新成功(即出现工具栏),因为网速的原因,如果编辑超过编辑框,请等待编辑框出现.<br />
                </td>
            </tr>
        </table>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:FormView ID="FormView1" runat="server" AllowPaging="True" DataKeyNames="id"
                    DataSourceID="ObjectDataSourceNewInsert" Width="100%" DefaultMode="Insert" OnItemInserting="FormView1_ItemInserting"
                    OnItemInserted="FormView1_ItemInserted">
                    <InsertItemTemplate>
                        <table width="100%">
                            <tr>
                                <td style="width: 100%">
                                    <div>
                                        <div id="righttab" class="righttab">
                                            <ul>
                                                <li id="tab_t1" class="active" onclick="return swap_tab(1)">
                                                    <h4>
                                                        <a href="#">基本信息</a></h4>
                                                </li>
                                                <%--<li id="tab_t2" class="normal" onclick="return swap_tab(2)">
                                                    <h4>
                                                        <a href="#">附加信息</a></h4>
                                                </li>
                                                <li id="tab_t3" class="normal" onclick="return swap_tab(3)">
                                                    <h4>
                                                        <a href="#">高级功能</a></h4>
                                                </li>--%>
                                            </ul>
                                        </div>
                                        <div class="rightContent" style="width: 100%">
                                            <div id="tab_1" class="tab">
                                                <strong>请填写资讯基本信息<br />
                                                </strong>
                                                <br />
                                                <table style="width: 100%;">
                                                    <tr>
                                                        <td style="width: 110px; text-align: right;">
                                                            新闻分类:
                                                        </td>
                                                        <td colspan="2">
                                                            <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="ObjectDataSourceNewsSubClass"
                                                                DataTextField="title" DataValueField="id" SelectedValue='<%# Bind("subclassid") %>'
                                                                AppendDataBoundItems="True">
                                                                <asp:ListItem Selected="True">=选择资讯子类=</asp:ListItem>
                                                            </asp:DropDownList>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DropDownList1"
                                                                ErrorMessage="请选择资讯子类！" InitialValue="=选择资讯子类=" ValidationGroup="subject">**请选择资讯子类</asp:RequiredFieldValidator>
                                                            <asp:ObjectDataSource ID="ObjectDataSourceNewsSubClass" runat="server" OldValuesParameterFormatString="original_{0}"
                                                                SelectMethod="Get_Data_Order_By_SubSort" TypeName="DataSet_fp_news_DyhTableAdapters.Dyh_News_TypeTableAdapter">
                                                            </asp:ObjectDataSource>
                                                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                                                                ShowSummary="False" ValidationGroup="subject" />
                                                            <%--<uc1:WebUserControl_ClassSort ID="WebUserControl_ClassSort1" runat="server" TopicId='<%# Bind("topicid") %>' />--%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 110px; text-align: right;">
                                                            标题前缀:
                                                        </td>
                                                        <td colspan="2">
                                                            <asp:DropDownList ID="DropDownList6" runat="server" SelectedValue='<%# Bind("pretitle") %>'>
                                                                <asp:ListItem>无</asp:ListItem>
                                                                <asp:ListItem>[图文]</asp:ListItem>
                                                                <asp:ListItem>[组图]</asp:ListItem>
                                                                <asp:ListItem>[推荐]</asp:ListItem>
                                                                <asp:ListItem>[注意]</asp:ListItem>
                                                            </asp:DropDownList>
                                                            &nbsp;&nbsp;&nbsp; 标题颜色:<asp:DropDownList ID="DropDownList2" runat="server" SelectedValue='<%# Bind("titlecolor") %>'
                                                                Style="font-size: 12px">
                                                                <asp:ListItem>无</asp:ListItem>
                                                                <asp:ListItem>red</asp:ListItem>
                                                                <asp:ListItem>green</asp:ListItem>
                                                                <asp:ListItem>blue</asp:ListItem>
                                                                <asp:ListItem>gray</asp:ListItem>
                                                                <asp:ListItem>pink</asp:ListItem>
                                                                <asp:ListItem>yellow</asp:ListItem>
                                                                <asp:ListItem>highlight</asp:ListItem>
                                                            </asp:DropDownList>
                                                            &nbsp;&nbsp;&nbsp; 标题字型:<asp:DropDownList ID="DropDownList7" runat="server" SelectedValue='<%# Bind("titlefont") %>'>
                                                                <asp:ListItem>字形</asp:ListItem>
                                                                <asp:ListItem>粗体</asp:ListItem>
                                                                <asp:ListItem>斜体</asp:ListItem>
                                                                <asp:ListItem>粗+斜</asp:ListItem>
                                                                <asp:ListItem>规则</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 110px; text-align: right;">
                                                            新闻标题:
                                                        </td>
                                                        <td colspan="2">
                                                            <asp:TextBox ID="TextBox1" runat="server" Style="font-size: 12px;border:1px solid #09f" Text='<%# Bind("title") %>'
                                                                Width="70%"></asp:TextBox>
                                                            &nbsp;
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox1"
                                                                ErrorMessage="标题栏不能为空！" ValidationGroup="subject">**标题栏不能为空！</asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <%--<td class="style60">
                                                        新闻内容:</td>--%>
                                                        <td colspan="3">
                                                            <%--<FCKeditorV2:FCKeditor runat="server">
                                                        </FCKeditorV2:FCKeditor>--%>
                                                            <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="./fckeditor/" Height="350px"
                                                                Value='<%# Bind("newscontent") %>' Width="100%">
                                                            </FCKeditorV2:FCKeditor>
                                                            <span class="style4"></span><asp:RequiredFieldValidator ID="RequiredFieldValidator3"
                                                                runat="server" ControlToValidate="FCKeditor1" ErrorMessage="资讯内容不能为空！" Enabled="False"
                                                                ValidationGroup="subject">**资讯内容不能为空！</asp:RequiredFieldValidator>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 110px; text-align: right;">
                                                            图片新闻链接:
                                                        </td>
                                                        <td class="style65">
                                                            <asp:TextBox ID="TextBox8" runat="server" Style="font-size: 12px;border:1px solid #09f" Text='<%# Bind("photos") %>'
                                                                Width="200px" Enabled="False"></asp:TextBox>
                                                            &nbsp;&nbsp;<asp:Label ID="Label_Msg" runat="server" Style="color: #FF0000"></asp:Label>
                                                        </td>
                                                        <td rowspan="4" style="text-align: left">
                                                            <asp:Image ID="Image1" runat="server" Height="110px" Style="text-align: left" Visible="False" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 110px; text-align: right;">
                                                            &nbsp;
                                                        </td>
                                                        <td class="style65">
                                                            <asp:FileUpload ID="MyFileUpload" runat="server" Enabled="False" />
                                                            <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Style="border-right: #4a95c9 1px solid;
                                                                border-top: #4a95c9 1px solid; border-left: #4a95c9 1px solid; border-bottom: #4a95c9 1px solid;
                                                                background-color: #b7d8ed" Text="图片上传" Enabled="False" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 110px; text-align: right;">
                                                            是否禁用:
                                                        </td>
                                                        <td class="style65">
                                                            <asp:RadioButtonList ID="RadioButtonList1" runat="server" Height="16px" RepeatDirection="Horizontal"
                                                                Width="145px" SelectedValue='<%# Bind("Delete_flag") %>'>
                                                                <asp:ListItem Value="True">是</asp:ListItem>
                                                                <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 110px; text-align: right;">
                                                            新闻稿件状态:
                                                        </td>
                                                        <td class="style65">
                                                            <asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal"
                                                                SelectedValue='<%# Bind("readstate") %>' Width="300">
                                                                <asp:ListItem Value="1">草稿</asp:ListItem>
                                                                <asp:ListItem Value="2">待审核</asp:ListItem>
                                                                <asp:ListItem Value="3">终审通过</asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                            <div id="tab_2" class="tab" style="display: none">
                                                <!-- style="display:none"-->
                                                <strong>以下内容默认为系统填写<br />
                                                </strong>
                                                <br />
                                                <table style="width: 100%;">
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            新闻题肩:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox10" runat="server" Text='<%# Bind("headtitle") %>' Width="50%"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            副标题:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox11" runat="server" Text='<%# Bind("subtitle") %>' Width="50%"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            关键字:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox12" runat="server" Text='<%# Bind("keyword") %>' Width="70%"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            作者:
                                                        </td>
                                                        <td>
                                                            <%--                                                                   <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                                                      <ContentTemplate>
                                                            --%>
                                                            <asp:TextBox ID="TextBox13" runat="server" Text='<%# Bind("username") %>' Width="120px"></asp:TextBox>
                                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="#FF3300"
                                                                OnClick="LinkButton1_Click">【未知】</asp:LinkButton>
                                                            &nbsp;
                                                            <asp:LinkButton ID="LinkButton2" runat="server" ForeColor="#FF3300" OnClick="LinkButton2_Click">【佚名】</asp:LinkButton>
                                                            &nbsp;
                                                            <asp:LinkButton ID="LinkButton3" runat="server" ForeColor="#FF3300" OnClick="LinkButton3_Click">【admin】</asp:LinkButton>
                                                            &nbsp;
                                                            <%--                                                                   
                                                                      </ContentTemplate>
                                                                   </asp:UpdatePanel>
                                                            --%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            新闻来源:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox14" runat="server" Text='<%# Bind("newsfrom") %>' Width="35%"></asp:TextBox>
                                                            &nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="LinkButton5" runat="server" ForeColor="#FF3300"
                                                                OnClick="LinkButton5_Click">【本站原创】</asp:LinkButton>
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            摘要<br />
                                                            (显示到新闻标题下):
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox9" runat="server" Height="100px" TextMode="MultiLine" Width="80%"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <br />
                                            </div>
                                            <div id="tab_3" class="tab" style="display: none">
                                                <!-- style="display:none"-->
                                                <strong>以下内容默认不填写<br />
                                                </strong>
                                                <br />
                                                <table style="width: 100%;">
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            发布时间:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox3" runat="server" Style="font-size: 12px" Text='<%# Bind("time") %>'></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            是否置顶:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DropDownList5" runat="server" SelectedValue='<%# Bind("top") %>'
                                                                Style="font-size: 12px">
                                                                <asp:ListItem Value="0">不置顶</asp:ListItem>
                                                                <asp:ListItem Value="1">置顶</asp:ListItem>
                                                                <asp:ListItem Value="2">强置顶</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            分页方式:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DropDownList8" runat="server" SelectedValue='<%# Bind("pagetype") %>'>
                                                                <asp:ListItem>不分页</asp:ListItem>
                                                                <asp:ListItem>自动分页</asp:ListItem>
                                                                <asp:ListItem>手动分页</asp:ListItem>
                                                            </asp:DropDownList>
                                                            &nbsp;&nbsp; <span style="color: green">手动分页符标记为“[NextPage]”，注意大小写。</span>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            新闻链接:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox2" runat="server" Style="font-size: 12px" Text='<%# Bind("url") %>'
                                                                Width="201px"></asp:TextBox>
                                                            填写此项目将直接跳转
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            推荐级别:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox15" runat="server" Text='<%# Bind("autopagewordnumber") %>'></asp:TextBox>
                                                            &nbsp;<span id="ctl00_CphContent_RepModel_ctl16_Field_PowerEasy2007_RegTxtNumber"
                                                                controltovalidate="ctl00_CphContent_RepModel_ctl16_Field_PowerEasy2007_TxtNumber"
                                                                display="Dynamic" errormessage="只能够输入0-9的数字" focusonerror="t" isvalid="true"
                                                                style="display: none; color: red" validationexpression="^[0-9]*$">只能够输入数字</span>
                                                            <span style="color: green">&nbsp;<span style="color: blue">注：数字越大推荐级别越高</span> </span>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            自动分页字符数:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox16" runat="server" Text='<%# Bind("Recommended") %>'></asp:TextBox>
                                                            &nbsp;<%--<span style="COLOR: red">* </span>
                                                                   <span ID="ctl00_CphContent_RepModel_ctl24_Field_PowerEasy2007_ReqTxtNumber" 
                                                            controltovalidate="ctl00_CphContent_RepModel_ctl24_Field_PowerEasy2007_TxtNumber" 
                                                            display="Dynamic" errormessage="数字不能为空" focusonerror="t" initialvalue="" 
                                                            isvalid="true" style="DISPLAY: none; COLOR: red">数字不能为空</span><span 
                                                            ID="ctl00_CphContent_RepModel_ctl24_Field_PowerEasy2007_RegTxtNumber" 
                                                            controltovalidate="ctl00_CphContent_RepModel_ctl24_Field_PowerEasy2007_TxtNumber" 
                                                            display="Dynamic" errormessage="只能够输入数字" focusonerror="t" isvalid="true" 
                                                            style="DISPLAY: none; COLOR: red" 
                                                            validationexpression="^-?[0-9]+(\.?[0-9]+)?$">只能够输入0-9的数字</span><span 
                                                            ID="ctl00_CphContent_RepModel_ctl24_Field_PowerEasy2007_ValRangeTxtNumber" 
                                                            controltovalidate="ctl00_CphContent_RepModel_ctl24_Field_PowerEasy2007_TxtNumber" 
                                                            decimalchar="." display="Dynamic" errormessage="数字不能小于0大于100" focusonerror="t" 
                                                            isvalid="true" maximumvalue="100" minimumvalue="0" 
                                                            style="DISPLAY: none; COLOR: red" type="Double">数字不能小于0大于100</span>
                                                                   <span style="COLOR: green">自动分页时的每页大约字符数</span>--%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            评分等级:
                                                        </td>
                                                        <td>
                                                            <asp:DropDownList ID="DropDownList9" runat="server" SelectedValue='<%# Bind("Score") %>'>
                                                                <asp:ListItem>★★★★★</asp:ListItem>
                                                                <asp:ListItem>★★★★</asp:ListItem>
                                                                <asp:ListItem Selected="True">★★★</asp:ListItem>
                                                                <asp:ListItem>★★</asp:ListItem>
                                                                <asp:ListItem>★</asp:ListItem>
                                                                <asp:ListItem>无</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="width: 110px">
                                                            优先级:
                                                        </td>
                                                        <td>
                                                            <asp:TextBox ID="TextBox17" runat="server" Text='<%# Bind("Priority") %>'></asp:TextBox>
                                                            &nbsp;<span style="color: red">* </span><span id="ctl00_CphContent_RepModel_ctl25_Field_PowerEasy2007_ReqTxtNumber"
                                                                controltovalidate="ctl00_CphContent_RepModel_ctl25_Field_PowerEasy2007_TxtNumber"
                                                                display="Dynamic" errormessage="数字不能为空" focusonerror="t" initialvalue="" isvalid="true"
                                                                style="display: none; color: red">数字不能为空</span><span id="ctl00_CphContent_RepModel_ctl25_Field_PowerEasy2007_RegTxtNumber"
                                                                    controltovalidate="ctl00_CphContent_RepModel_ctl25_Field_PowerEasy2007_TxtNumber"
                                                                    display="Dynamic" errormessage="只能够输入数字" focusonerror="t" isvalid="true" style="display: none;
                                                                    color: red" validationexpression="^-?[0-9]+(\.?[0-9]+)?$">只能够输入数字</span><span id="ctl00_CphContent_RepModel_ctl25_Field_PowerEasy2007_ValRangeTxtNumber"
                                                                        controltovalidate="ctl00_CphContent_RepModel_ctl25_Field_PowerEasy2007_TxtNumber"
                                                                        decimalchar="." display="Dynamic" errormessage="数字不能小于0大于100" focusonerror="t"
                                                                        isvalid="true" maximumvalue="100" minimumvalue="0" style="display: none; color: red"
                                                                        type="Double">数字不能小于0大于100</span> <span style="color: green">&nbsp;<span style="color: blue">注：数字越大优先级别越高</span>
                                                                        </span>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <br />
                                            </div>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 100%">
                                    <table style="width: 100%;">
                                        <tr>
                                            <td style="width: 120px">
                                                &nbsp;
                                            </td>
                                            <td style="width: 110px">
                                                <asp:Button ID="InsertButton" runat="server" CommandName="Insert" Style="border: 0;padding:3px 8px;color:#fff;
                                                    background-color: #0099ff" Text="发布文章" ValidationGroup="subject" /><%--OnClick="Button1_Click" --%>
                                            </td>
                                            <td>
                                                <asp:Button ID="InsertCancelButton" runat="server" CommandName="Cancel" Style="border:0;padding:3px 8px;color:#fff;
                                                    background-color: #0099ff" Text="重新录入" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </InsertItemTemplate>
                </asp:FormView>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:ObjectDataSource ID="ObjectDataSourceNewInsert" runat="server" InsertMethod="Insert_New_Data_Query"
            OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="DataSet_fp_news_DyhTableAdapters.Dyh_NewsTableAdapter">
            <InsertParameters>
                <asp:Parameter Name="topicid" Type="Int32" />
                <asp:Parameter Name="headtitle" Type="String" />
                <asp:Parameter Name="pretitle" Type="String" />
                <asp:Parameter Name="title" Type="String" />
                <asp:Parameter Name="titlecolor" Type="String" />
                <asp:Parameter Name="titlefont" Type="String" />
                <asp:Parameter Name="subtitle" Type="String" />
                <asp:Parameter Name="newscontent" Type="String" />
                <asp:Parameter Name="keyword" Type="String" />
                <asp:Parameter Name="pagetype" Type="String" />
                <asp:Parameter Name="autopagewordnumber" Type="Int32" />
                <asp:Parameter Name="photos" Type="String" />
                <asp:Parameter Name="Priority" Type="Int32" />
                <asp:Parameter Name="newsfrom" Type="String" />
                <asp:Parameter Name="sort" Type="Int32" />
                <asp:Parameter Name="userid" Type="Int32" />
                <asp:Parameter Name="username" Type="String" />
                <asp:Parameter Name="time" Type="DateTime" />
                <asp:Parameter Name="subclassid" Type="Int32" />
                <asp:Parameter Name="subclassname" Type="String" />
                <asp:Parameter Name="mainclassid" Type="Int32" />
                <asp:Parameter Name="mainclassname" Type="String" />
                <%--                    <asp:Parameter Name="hits" Type="Int32" />
                --%>
                <asp:Parameter Name="zhaiyao" Type="String" />
                <asp:Parameter Name="xiangguan" Type="String" />
                <asp:Parameter Name="url" Type="String" />
                <asp:Parameter Name="top" Type="Int32" />
                <asp:Parameter Name="Score" Type="String" />
                <asp:Parameter Name="Recommended" Type="Int32" />
                <asp:Parameter Name="readstate" Type="Int32" />
                <asp:Parameter Name="Delete_flag" Type="Boolean" />
            </InsertParameters>
        </asp:ObjectDataSource>
    </div>
</asp:Content>
